projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15614e6
)
[MSDOS]: If DJGPP version 2, include unistd.h.
author
Richard M. Stallman
<rms@gnu.org>
Wed, 10 Apr 1996 04:10:14 +0000
(
04:10
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 10 Apr 1996 04:10:14 +0000
(
04:10
+0000)
Include msdos.h somewhat earlier.
src/lread.c
patch
|
blob
|
history
diff --git
a/src/lread.c
b/src/lread.c
index 11fc04a4f6e9bbe64e2ab96ea93d2b0031cac957..f90bdb2ef2daea009c428d313e00e79af8849559 100644
(file)
--- a/
src/lread.c
+++ b/
src/lread.c
@@
-40,6
+40,13
@@
Boston, MA 02111-1307, USA. */
#include <sys/inode.h>
#endif /* lint */
+#ifdef MSDOS
+#if __DJGPP__ < 2
+#include <unistd.h> /* to get X_OK */
+#endif
+#include "msdos.h"
+#endif
+
#ifndef X_OK
#define X_OK 01
#endif
@@
-49,10
+56,6
@@
Boston, MA 02111-1307, USA. */
#include <stdlib.h>
#endif
-#ifdef MSDOS
-#include "msdos.h"
-#endif
-
#include <math.h>
#endif /* LISP_FLOAT_TYPE */